package com.house.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.house.model.dto.HouseDto;
import com.house.model.dto.HouseLocationDto;
import com.house.model.entity.House;

import java.io.IOException;
import java.util.List;

import com.house.model.vo.HouseInfoVo;
import com.house.model.vo.HouseVo;
import com.house.model.vo.SearchHouseVo;

import java.util.Map;
import java.util.Set;

public interface IHouseService extends IService<House> {

    List<SearchHouseVo> searchHouseList(String addr);

    void addSellers(House house);

    List<HouseVo> houseList(HouseLocationDto dto);

    HouseInfoVo houseInfo(String houseId);


    List<HouseVo> getHouseListById();

    House getHouseById(HouseDto dto);

    boolean isHouseByOneself(String userId);

    Set<Object> getHotSearch();

    HouseVo getHouseVoOne(String houseId);
}
